package org.qsoft.test.model;

import java.util.Date;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer id;
	private String sname;
	private String spassword;
	private String sdepartmentname;
	private String srankname;
	private String semailaddr;
	private Date dbirthday;
	private Integer isex;
	private String spostaladdr;
	private String spostalcode;
	private String sofficeno;
	private String sphone;
	private String sfax;
	private String sposition;
	private Integer istate;
	private Date dcrtdate;
	private String sremark;
	private String sipaddr;

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String sname) {
		this.sname = sname;
	}

	/** full constructor */
	public Users(String sname, String spassword, String sdepartmentname,
			String srankname, String semailaddr, Date dbirthday, Integer isex,
			String spostaladdr, String spostalcode, String sofficeno,
			String sphone, String sfax, String sposition, Integer istate,
			Date dcrtdate, String sremark, String sipaddr) {
		this.sname = sname;
		this.spassword = spassword;
		this.sdepartmentname = sdepartmentname;
		this.srankname = srankname;
		this.semailaddr = semailaddr;
		this.dbirthday = dbirthday;
		this.isex = isex;
		this.spostaladdr = spostaladdr;
		this.spostalcode = spostalcode;
		this.sofficeno = sofficeno;
		this.sphone = sphone;
		this.sfax = sfax;
		this.sposition = sposition;
		this.istate = istate;
		this.dcrtdate = dcrtdate;
		this.sremark = sremark;
		this.sipaddr = sipaddr;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getSname() {
		return this.sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSpassword() {
		return this.spassword;
	}

	public void setSpassword(String spassword) {
		this.spassword = spassword;
	}

	public String getSdepartmentname() {
		return this.sdepartmentname;
	}

	public void setSdepartmentname(String sdepartmentname) {
		this.sdepartmentname = sdepartmentname;
	}

	public String getSrankname() {
		return this.srankname;
	}

	public void setSrankname(String srankname) {
		this.srankname = srankname;
	}

	public String getSemailaddr() {
		return this.semailaddr;
	}

	public void setSemailaddr(String semailaddr) {
		this.semailaddr = semailaddr;
	}

	public Date getDbirthday() {
		return this.dbirthday;
	}

	public void setDbirthday(Date dbirthday) {
		this.dbirthday = dbirthday;
	}

	public Integer getIsex() {
		return this.isex;
	}

	public void setIsex(Integer isex) {
		this.isex = isex;
	}

	public String getSpostaladdr() {
		return this.spostaladdr;
	}

	public void setSpostaladdr(String spostaladdr) {
		this.spostaladdr = spostaladdr;
	}

	public String getSpostalcode() {
		return this.spostalcode;
	}

	public void setSpostalcode(String spostalcode) {
		this.spostalcode = spostalcode;
	}

	public String getSofficeno() {
		return this.sofficeno;
	}

	public void setSofficeno(String sofficeno) {
		this.sofficeno = sofficeno;
	}

	public String getSphone() {
		return this.sphone;
	}

	public void setSphone(String sphone) {
		this.sphone = sphone;
	}

	public String getSfax() {
		return this.sfax;
	}

	public void setSfax(String sfax) {
		this.sfax = sfax;
	}

	public String getSposition() {
		return this.sposition;
	}

	public void setSposition(String sposition) {
		this.sposition = sposition;
	}

	public Integer getIstate() {
		return this.istate;
	}

	public void setIstate(Integer istate) {
		this.istate = istate;
	}

	public Date getDcrtdate() {
		return this.dcrtdate;
	}

	public void setDcrtdate(Date dcrtdate) {
		this.dcrtdate = dcrtdate;
	}

	public String getSremark() {
		return this.sremark;
	}

	public void setSremark(String sremark) {
		this.sremark = sremark;
	}

	public String getSipaddr() {
		return this.sipaddr;
	}

	public void setSipaddr(String sipaddr) {
		this.sipaddr = sipaddr;
	}

}